package com.shop.bean;

public class TradeRecord {
    private int id;
    private int productId;
    private int purchaseId;
    private int status; // 0:未完成 1:已完成
    private int sellerConfirm; // 0:未确认 1:已确认
    private int buyerConfirm; // 0:未确认 1:已确认

    // getter和setter
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public int getProductId() { return productId; }
    public void setProductId(int productId) { this.productId = productId; }
    public int getPurchaseId() { return purchaseId; }
    public void setPurchaseId(int purchaseId) { this.purchaseId = purchaseId; }
    public int getStatus() { return status; }
    public void setStatus(int status) { this.status = status; }
    public int getSellerConfirm() { return sellerConfirm; }
    public void setSellerConfirm(int sellerConfirm) { this.sellerConfirm = sellerConfirm; }
    public int getBuyerConfirm() { return buyerConfirm; }
    public void setBuyerConfirm(int buyerConfirm) { this.buyerConfirm = buyerConfirm; }
}